<?php
/**
 * SellerTransaction.php
 *
 * @copyright  2023 opencart.cn - All Rights Reserved
 * @link       http://www.guangdawangluo.com
 * @author     TL <mengwb@opencart.cn>
 * @created    2023-04-18 19:37:56
 * @modified   2023-04-18 19:37:56
 */

namespace Beike\Seller\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class SellerTransaction extends Base
{
    use HasFactory;

    protected $fillable = ['seller_id', 'order_product_id', 'order_id', 'product_id', 'withdraw_id', 'amount', 'description'];

    public function seller(): BelongsTo
    {
        return $this->belongsTo(Seller::class);
    }
}
